<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<%@taglib prefix="s" uri="/struts-tags"%>
<title>查询订单</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>
<s:set name="cunzai" value="cunzai"></s:set>
<body>
	<s:if test="#cunzai == '1'.toString()">
		<form action="xiugai.action" name="xiugai" id="xiugai" method="post">
			<table border="0">
				<s:iterator value="dakehus">
					<tr align="center">
						<td><b>采购商</b>
						</td>
						<td><b>姓名</b>
						</td>
						<td><b>PNR</b>
						</td>
						<td><b>票号</b>
						</td>
						<td><b>航程</b>
						</td>
						<td><b>航班</b>
						</td>
						<td><b>舱位</b>
						</td>
					</tr>
					<tr>
						<td><input type="text" name="xcaigoushang" id="xcaigoushang"
							value="<s:property value="caigoushang"/>" /></td>
						<td><input type="text" name="xxingming" id="xxingming"
							value="<s:property value="xingming"/>" /></td>
						<td><input type="text" name="xpnr" id="xpnr"
							value="<s:property value="pnr"/>" /></td>
						<td><input type="text" name="xpiaohao" id="xpiaohao"
							value="<s:property value="piaohao"/>" /></td>
						<td><input type="text" name="xhangcheng" id="xhangcheng"
							value="<s:property value="hangcheng"/>" /></td>
						<td><input type="text" name="xhangban" id="xhangban"
							value="<s:property value="hangban"/>" /></td>
						<td><input type="text" name="xcangwei" id="xcangwei"
							value="<s:property value="cangwei"/>" /></td>
				</s:iterator>
				</tr>
				<s:iterator value="dakehus">
					<tr>
						<td><b>乘机日期</b>
						</td>
						<td><b>票面价</b>
						</td>
						<td><b>税费</b>
						</td>
						<td><b>支出金额</b>
						</td>
						<td><b>实收金额</b>
						</td>
						<td><b>利润</b>
						</td>
						<td><b>出票日期</b>
						</td>
						<td><b>航空公司</b>
						</td>
						<td><b>备注</b>
						</td>
					</tr>
					<tr>
						<td><input type="text" name="xchengjiriqi" id="xchengjiriqi"
							value="<s:property value="chengjiriqi"/>" /></td>
						<td><input type="text" name="xpiaomianjia" id="xpiaomianjia"
							value="<s:property value="piaomianjia"/>" /></td>
						<td><input type="text" name="xshuifei" id="xshuifei"
							value="<s:property value="shuifei"/>" /></td>
						<td><input type="text" name="xzhichujine" id="xzhichujine"
							value="<s:property value="zhichujine"/>" /></td>
						<td><input type="text" name="xshishou" id="xshishou"
							value="<s:property value="shishou"/>" /></td>
						<td><input type="text" name="xlirun" id="xlirun"
							value="<s:property value="lirun"/>" /></td>
						<td><input type="text" name="xchupiaoriqi" id="xchupiaoriqi"
							value="<s:property value="chupiaoriqi"/>" /></td>
						<td><input type="text" name="xhangkonggongsi"
							id="xhangkonggongsi" value="<s:property value="hangkonggongsi"/>" />
						</td>
						<td><input type="text" name="xbeizhu" id="xbeizhu"
							value="<s:property value="beizhu"/>" /></td>
						<input type="hidden" name="xid" id="xid"
							value="<s:property value="id"/>" />
				</s:iterator>
				</tr>
			</table>
			<input type="submit" name="submit" value="保存修改" />
		</form>
		</br>
		<form action="feipiao.action" name="feipiao" id="feipiao"
			method="post">
			废票:<input type="text" name="feipiaozhangshu" id="feipiaozhangshu">张
			<s:iterator value="dakehus">
				<input type="hidden" name="xid" id="xid"
					value="<s:property value="id"/>" />
			</s:iterator>
			<input type="submit" name="submit" value="废票" />
		</form>
	</s:if>
	<s:else>
		<s:property value="cunzai" />
	</s:else>
</body>
</html>
